package com.fengxing.ams.web.facade;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.fengxing.ams.web.facade.intf.IRechargeFacade;
import com.fengxing.ams.web.facade.mouble.recharge.IRechargeDAO;
import com.fengxing.ams.web.facade.mouble.recharge.RechargeVO;

@Component
@Transactional
public class RechargeFacade implements IRechargeFacade {

	@Autowired
	IRechargeDAO rechargeDAO;

	@Override
	public void save(RechargeVO recharge) {
		rechargeDAO.save(recharge);
	}

	@Override
	public List<RechargeVO> findByVipId(String id) {
		return rechargeDAO.findByVipId(id);
	}
	
}
